<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			// boolean：true  false
			var num1 = 67;
			var num2 = 200;
			// var b = num1 >= num2;
			console.log(num1 >= num2);// false
			console.log(num1 != num2);// true
			// &&: 左右两边都是true，结果才是true
			// ||：左右两边只要有一个是true，结果就是true
			var b1 = (num1 >= 60) && (num2 >= 300);
			console.log(b1);// false
			console.log((num1 >= 60) || (num2 >= 300));// true
			
			// 比较运算符和逻辑运算符的结果都是boolean类型true或者false
			// if (boolean){}
			// while(boolean){}
		</script>
	</head>
	<body>
	</body>
</html>
